<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * coba.php
 * @author ranuandra
 *
 * 25 Agu 2011 09:26:13
 *
 * 
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NASMOCO</title>
<link href="<?php echo URL::base()?>assets/css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo URL::base()?>assets/css/template.css" rel="stylesheet" type="text/css" />
<link href="<?php echo URL::base()?>assets/css/form.css" rel="stylesheet" type="text/css" />
<link href="<?php echo URL::base()?>assets/css/sort.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" type="text/css" href="<?php echo URL::base()?>assets/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="<?php echo URL::base()?>assets/js/jquery-1.2.6.min.js"></script>

<script type="text/javascript">
	$(document).ready(function() {

		//$('.contain').load('<?php echo URL::base()?>');
		$('.topmenu').click(function(){
				var link = $(this).attr('href');
				$('.contain').load(link);
				return false;
			});


	});


		</script>
</head>

<body>
<div class="container container_12">
<div class="grid_12 top"></div>
<div class="grid_12 menu">
        <?php 
         if(isset($menu))
         {
             echo $menu;	
          }
       ?>
</div>
<div class="grid_12">
	<div class="middle">
    	<div class="inside">
    		<a href="<?php echo URL::base()?>menu" class="topmenu">Coba</a>
			<div class="loader"></div>
    		<div class="contain">
	        <?php 
	         if(isset($container))
	         {
	             echo $container;	
	          }
	       	 ?>
       		</div>
    	</div>
    </div>
</div>
<div class="grid_12 footer">
    	<div class="inside">
			PT NEW RATNA MOTOR @2011
    	</div>
</div>
</div>
</body>
</html>